﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/inc/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎登录系统</title>
<c:set var="ctxStatic" value="${ctx}/static" />
<link href="${ctxStatic}/login/css/style.css" rel="stylesheet"
	type="text/css" />
<style type="text/css">
.loginbox {
	-webkit-border-radius: 10px;
	border-radius: 0px 90px 0px 90px;
}
</style>
<script src="${ctxStatic}/login/js/jquery.js" type="text/javascript"></script>
<script src="${ctxStatic}/login/js/cloud.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		$('.loginbox').css({
			'position' : 'absolute',
			'left' : ($(window).width() - 532) / 2
		});
		$(window).resize(function() {
			$('.loginbox').css({
				'position' : 'absolute',
				'left' : ($(window).width() - 532) / 2
			});
		});
	});
	if (window != top) {
		top.location.href = location.href;
	}
</script>

</head>

<body
	style="background-color:#1c77ac; background-image:url(${ctxStatic}/login/images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">
	<div id="mainBody">
		<div id="cloud1" class="cloud"></div>
		<div id="cloud2" class="cloud"></div>
	</div>
	<div class="logintop">
		<span>欢迎登录井控配件信息管理系统${version}</span>
		<ul>
			<li><a href="#">回首页</a></li>
			<li><a href="#">帮助</a></li>
			<li><a href="#">关于</a></li>
		</ul>
	</div>

	<div class="loginbody">
		<span class="systemlogo"></span>
		<div class="loginbox">
			<es:showMessage></es:showMessage>
			<form method="post">
				<es:BackURL hiddenInput="true" />
				<ul>
					<li><input id="username" name="username" required="required"
						type="text" class="loginuser" value="${param.username}" /></li>
					<li><input id="password" name="password" required="required"
						type="password" class="loginpwd" /></li>
					<li><input name="" type="submit" class="loginbtn" value="登录" />
						<input type="checkbox" name="rememberMe" id="loginkeeping"
						value="true" /> <label for="loginkeeping">记住我</label></li>
				</ul>
			</form>
		</div>
	</div>
	<div class="loginbm">${copyRight}</div>
</body>

</html>
